package org.lc.eic.core.pipesandfilters.impl;

import java.util.ArrayList;
import java.util.List;

import org.lc.eic.core.pipesandfilters.Pipe;
import org.lc.eic.core.pipesandfilters.exception.ProcessingException;

public class MockPipe<I> implements Pipe<I> {
	
	private List<I> proccessedList = new ArrayList<I>();
	
	public void process(I msg) throws ProcessingException {
		proccessedList.add(msg);
	}

	public List<I> getProccessedList() {
		return proccessedList;
	}

	

}
